export const getQueryString = (name) => {
  const queryString = window.location.search;
  const params = new URLSearchParams(queryString);
  const value = params.get(name);
  return value ? decodeURIComponent(value) : null;
}